/**
 *  @FileName: StringDemo.java
 *  @Last Modified Date: CharlW
 *  @Description: 提供一个字符数组参数来初始化字符串变量
 */

public class StringDemo {
	public static void main(String[] args) {
		char[] helloarray = {'h', 'e', 'l', 'l', 'o', '.'};
		String helloString = new String(helloarray);
		System.out.println(helloString);
	}
}